package com.bestcem.xm.member.grpc.service.param.member;

import com.bestcem.xm.member.enums.DeliveryTypeEnum;
import com.bestcem.xm.member.enums.MemberTypeEnum;
import com.bestcem.xm.member.grpc.service.param.PageParam;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description 条件筛选联系人
 * @date 2021/8/16
 */
@Getter
@Setter
public class ListFilterMemberParam {
    private String orgId;

    private MemberTypeEnum memberTypeEnum;

    @NotNull(message = "投放类型异常")
    private DeliveryTypeEnum deliveryTypeEnum;

    /**
     * 关键字
     */
    private String regex;

    private String condition;

    private String userId;

    private PageParam param;

    /**
     * 是否为超级管理员; 1: 是
     */
    private Integer superRole;

    /**
     * 高级管理员权限
     */
    private Integer isSenior;

    private String appId;
}
